package com.yz.book.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yz.book.entity.Product;
import com.yz.book.vo.EsProduct;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ste
 * @since 2023-02-04 03:37:37
 */
public interface ProductService extends IService<Product> {

    Page<EsProduct> searchByES(Integer currentPage, Integer pageSize, String keyword);

    Page<Product> searchBySQL(Page<Product> page, String keyword);
}
